package com.youlai.boot.daily.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.daily.model.entity.DailyRecord;
import com.youlai.boot.daily.model.form.DailyRecordForm;

/**
 * 日常记录对象转换器
 *
 * @author cuisheng
 * @since 2025-04-02 22:51
 */
@Mapper(componentModel = "spring")
public interface DailyRecordConverter{

    DailyRecordForm toForm(DailyRecord entity);

    DailyRecord toEntity(DailyRecordForm formData);
}